import http from './http'
import constant from './constant'

export function sendCancelOrderMessage(mobile, orderId, successCallBack, failureCallBack) {
  http.post(constant.cancelOrderMessage, {mobile, orderId}, success => {
    successCallBack && successCallBack(success)
  }, error => {
    failureCallBack && failureCallBack(error)
  })
}
